/* eslint-disable */
// 引入 get方法, post方法
import axios from './index'

// 用户登录
export const login = params => axios.post("/user/login/", params)  // 用户登录
export const send_mail = params => axios.post("/user/email/", params)  // 发送邮件
export const reg = params => axios.post("/user/register/", params)  // 用户注册
export const oauth_callback = params => axios.post("/oauth/weibo/", params)  // 用户注册
export const oauth_bind = params => axios.post("/oauth/bind/", params)  // 用户注册
